<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta charset="utf-8">
    <title>table模块快速使用</title>
    <link rel="stylesheet" href="../static/plugins/layui/css/layui.css" media="all">
</head>

<body>

<table class="layui-table">
    <thead>
    <tr>
        <th>ID</th>
        <th>用户名</th>
        <th>操作</th>
    </tr>
    </thead>
    <tbody>
    <c:forEach var="goodsList" items="${list}">
        <tr>
            <td>${goodsList.id}</td>
            <td>${goodsList.title}</td>
            <td>
                <a href="GoodsAdd?id=${goodsList.id}">修改</a>
                <a href="">删除</a>
            </td>
        </tr>
    </c:forEach>
    </tbody>
</table>

<script src="static/plugins/layui/layui.js"></script>
<script>

</script>
</body>

</html>
